Xbasic

RTFMEMO.INSERT_ELSEIF Function

Syntax

.INSERT_ELSEIF( Expression as C )

Arguments

Expression

The expression to evaluate to determine which instruction to process next.

Description

The .INSERT_ELSEIF() method inserts an ELSEIF operator at the cursor location.

Example

dim obj as P
obj = :Customer_Information:rtfmemofield.this
obj.rtf.insert_text("This is RTF text")
obj.rtf.set_cursor(10)
obj.rtf.insert_else("")
obj.rtf.insert_elseif("")
obj.rtf.insert_endif("")
obj.rtf.insert_if("")
obj.rtf.insert_if_unpaired("")
obj.rtf.insert_ifelse("")
obj.rtf.insert_ifelse_unpaired("")

Limitations

Desktop applications only.

See Also